﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ywxt.Common;

namespace DB_NH.DB_Model.FYBZ
{
    /// <summary>
    /// 费用报账详细记录
    /// </summary>
    public class wf_fybz_detail
    {
        #region 字段
        /// <summary>
        /// 记录ID
        /// </summary>
        public virtual string r_id { get; set; }

        /// <summary>
        /// 所属费用报账审批记录
        /// </summary>
        public virtual wf_fybz this_wf_fybz { get; set; }

        /// <summary>
        /// 费用类型名称
        /// </summary>
        public virtual string fylx { get; set; }

        /// <summary>
        /// 费用名称
        /// </summary>
        public virtual string fymc { get; set; }

        /// <summary>
        /// 费用金额
        /// </summary>
        public virtual decimal fyje { get; set; }

        /// <summary>
        /// 费用所属财务类型
        /// </summary>
        public virtual ywxt.t_sys_finance_type fy_type { get; set; }

        /// <summary>
        /// 记录是否有效
        /// </summary>
        public virtual int is_valid { get; set; }

        /// <summary>
        /// 记录创建时间
        /// </summary>
        public virtual DateTime create_date { get; set; }
        #endregion

        public wf_fybz_detail()
        {
            r_id = Common.NewID();
            is_valid = 1;
            create_date = DateTime.Now;

            this_wf_fybz = new wf_fybz();
            fy_type = new ywxt.t_sys_finance_type();
        }
    }
}
